package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全生产场景对象 c5_safety_scenario
 * 
 * @author whz
 * @date 2024-12-06
 */
public class SafetyScenario extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 要素 */
    @Excel(name = "要素")
    private String element;

    /** 体征 */
    @Excel(name = "体征")
    private String sign;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 预警频次 */
    @Excel(name = "预警频次")
    private String alertFrequency;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 处置状态 */
    @Excel(name = "处置状态")
    private String disposalStatus;

    /** 人员/设备 */
    @Excel(name = "人员/设备")
    private String personOrDevice;

    /** 问题点 */
    @Excel(name = "问题点")
    private String problemPoint;

    /** 预警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alertTime;

    /** 处置内容 */
    @Excel(name = "处置内容")
    private String disposalContent;

    /** 处置时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处置时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date disposalTime;

    /** 处置人 */
    @Excel(name = "处置人")
    private String disposalPerson;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String safetyScenarioSpare1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String safetyScenarioSpare2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String safetyScenarioSpare3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String safetyScenarioSpare4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String safetyScenarioSpare5;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createId;

    /** 创建者姓名 */
    @Excel(name = "创建者姓名")
    private String createName;

    /** 更新者ID */
    @Excel(name = "更新者ID")
    private Long updateId;

    /** 更新者姓名 */
    @Excel(name = "更新者姓名")
    private String updateName;

    /** 账户ID */
    @Excel(name = "账户ID")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setElement(String element) 
    {
        this.element = element;
    }

    public String getElement() 
    {
        return element;
    }
    public void setSign(String sign) 
    {
        this.sign = sign;
    }

    public String getSign() 
    {
        return sign;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setAlertFrequency(String alertFrequency) 
    {
        this.alertFrequency = alertFrequency;
    }

    public String getAlertFrequency() 
    {
        return alertFrequency;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDisposalStatus(String disposalStatus) 
    {
        this.disposalStatus = disposalStatus;
    }

    public String getDisposalStatus() 
    {
        return disposalStatus;
    }
    public void setPersonOrDevice(String personOrDevice) 
    {
        this.personOrDevice = personOrDevice;
    }

    public String getPersonOrDevice() 
    {
        return personOrDevice;
    }
    public void setProblemPoint(String problemPoint) 
    {
        this.problemPoint = problemPoint;
    }

    public String getProblemPoint() 
    {
        return problemPoint;
    }
    public void setAlertTime(Date alertTime) 
    {
        this.alertTime = alertTime;
    }

    public Date getAlertTime() 
    {
        return alertTime;
    }
    public void setDisposalContent(String disposalContent) 
    {
        this.disposalContent = disposalContent;
    }

    public String getDisposalContent() 
    {
        return disposalContent;
    }
    public void setDisposalTime(Date disposalTime) 
    {
        this.disposalTime = disposalTime;
    }

    public Date getDisposalTime() 
    {
        return disposalTime;
    }
    public void setDisposalPerson(String disposalPerson) 
    {
        this.disposalPerson = disposalPerson;
    }

    public String getDisposalPerson() 
    {
        return disposalPerson;
    }
    public void setSafetyScenarioSpare1(String safetyScenarioSpare1) 
    {
        this.safetyScenarioSpare1 = safetyScenarioSpare1;
    }

    public String getSafetyScenarioSpare1() 
    {
        return safetyScenarioSpare1;
    }
    public void setSafetyScenarioSpare2(String safetyScenarioSpare2) 
    {
        this.safetyScenarioSpare2 = safetyScenarioSpare2;
    }

    public String getSafetyScenarioSpare2() 
    {
        return safetyScenarioSpare2;
    }
    public void setSafetyScenarioSpare3(String safetyScenarioSpare3) 
    {
        this.safetyScenarioSpare3 = safetyScenarioSpare3;
    }

    public String getSafetyScenarioSpare3() 
    {
        return safetyScenarioSpare3;
    }
    public void setSafetyScenarioSpare4(String safetyScenarioSpare4) 
    {
        this.safetyScenarioSpare4 = safetyScenarioSpare4;
    }

    public String getSafetyScenarioSpare4() 
    {
        return safetyScenarioSpare4;
    }
    public void setSafetyScenarioSpare5(String safetyScenarioSpare5) 
    {
        this.safetyScenarioSpare5 = safetyScenarioSpare5;
    }

    public String getSafetyScenarioSpare5() 
    {
        return safetyScenarioSpare5;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("element", getElement())
            .append("sign", getSign())
            .append("description", getDescription())
            .append("alertFrequency", getAlertFrequency())
            .append("type", getType())
            .append("disposalStatus", getDisposalStatus())
            .append("personOrDevice", getPersonOrDevice())
            .append("problemPoint", getProblemPoint())
            .append("alertTime", getAlertTime())
            .append("disposalContent", getDisposalContent())
            .append("disposalTime", getDisposalTime())
            .append("disposalPerson", getDisposalPerson())
            .append("safetyScenarioSpare1", getSafetyScenarioSpare1())
            .append("safetyScenarioSpare2", getSafetyScenarioSpare2())
            .append("safetyScenarioSpare3", getSafetyScenarioSpare3())
            .append("safetyScenarioSpare4", getSafetyScenarioSpare4())
            .append("safetyScenarioSpare5", getSafetyScenarioSpare5())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("accountId", getAccountId())
            .toString();
    }
}
